import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'



// 图标库引入
import 'font-awesome/css/font-awesome.min.css'

// elementui引入
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

// 引入echarts以及中国地图china.js
// import * as echarts from 'echarts';
// import '../node_modules/echarts/map/js/china';
// Vue.prototype.$echarts = echarts;

import echarts from 'echarts/dist/echarts.min.js'
import china from 'echarts/map/json/china.json'
echarts.registerMap('china', china)
Vue.prototype.$echarts = echarts



Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
